package hmvc4gwt.framework.client.events;

import hmvc4gwt.client.event.AEvent;
import hmvc4gwt.client.view.IView;

public class AddViewEvent extends AEvent {
	
	public AddViewEvent(IView view) {
		setPayload(view);
	}

	public Class getClassOfObject() {
		return AddViewEvent.class;
	}

	public IView getView() {
		return (IView) getPayload();
	}


}
